package com.smedi.ismedi.cronjob.core.domain.repository;

import com.smedi.ismedi.cronjob.core.domain.aggregatemodel.JobInfo;

import java.util.List;

/**
 * @author u
 */
public interface JobInfoRepository {
    Boolean doDelete(Long id);

    Boolean doDelete(List<Long> ids);

    JobInfo doInsert(JobInfo jobInfo);

    List<JobInfo> doInsert(List<JobInfo> jobInfos);

    JobInfo doUpdate(JobInfo jobInfo);

    List<JobInfo> doUpdate(List<JobInfo> jobInfos);

    JobInfo doGet(Long id);

    List<JobInfo> doList();

    List<JobInfo> doList(List<Long> ids);

    List<JobInfo> doList(JobInfo jobInfo);
}
